﻿using System;
using EkStudio.com.bean.xml.reflection;
using EkStudio.com.bean.xml.RootInterface;

namespace EkStudio.com.bean.xml.WorkFlow
{
    public class WflowOwnerElement: BillObjectInterface
    {

        private string creater = "";

        private string created = "";

        private string lastMender = "";

        private string lastModified = "";

        [Xml]
        public string Creater
        {
            get
            {
                return creater;
            }

            set
            {
                creater = value;
            }
        }
        [Xml]
        public string Created
        {
            get
            {
                return created;
            }

            set
            {
                created = value;
            }
        }
        [Xml]
        public string LastMender
        {
            get
            {
                return lastMender;
            }

            set
            {
                lastMender = value;
            }
        }
        [Xml]
        public string LastModified
        {
            get
            {
                return lastModified;
            }

            set
            {
                lastModified = value;
            }
        }
        [XmlTransient]
        public object ParentBean
        {
            get {
                throw new NotImplementedException();
            }

            set
            {
                throw new NotImplementedException();
            }
        }

        public object Clone()
        {
            WflowOwnerElement clone = new WflowOwnerElement();
            clone.Created = created;
            clone.Creater = creater;
            clone.LastMender = lastMender;
            clone.lastModified = lastModified;
            return clone;
        }
    }
}